package com.chhuang.uresource.service;

import java.util.List;

import com.chhuang.core.service.IBaseService;
import com.chhuang.uresource.mapper.ChUserMapper;
import com.chhuang.uresource.po.ChUser;

/**
* ChUser IService
* @author ChHuang
* @date Tue Jan 30 09:04:43 CST 2018
*/
public interface IChUserService extends IBaseService<ChUserMapper, ChUser> {
	
	/**
	 * 根据用户名查询
	 * @param username
	 * @return
	 */
	public List<ChUser> findByUsername(String username) throws Exception;

	/**
	 * 根据ids删除多条记录
	 * @param userIds
	 */
	public void deleteByPrimaryKeys(String adminIds, String[] ids) throws Exception;

}